/* musicList.css - 鼠鼠音乐列表样式 */

/* 字体导入 */
@font-face {
  font-family: 'ProjectD Type Curve';
  src: url("../../../fonts/p-bold.ttf") format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'ProjectD';
  src: url("../../../fonts/p-med.ttf") format('truetype');
  font-weight: 500;
  font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'ProjectD', 'Microsoft YaHei', Arial, sans-serif;
    background: #0a0a0a;
    width: 1400px !important;
    height: auto !important;
    min-height: 900px;
    overflow: visible;
}

.container { 
    width: 1400px !important; 
    position: relative; 
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 40px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* 背景渐变 */
.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(35, 247, 158, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* 头部区域 */
.header {
    position: relative;
    margin-bottom: 30px;
    z-index: 1;
}

.header-decoration {
    width: 5px;
    height: 80px;
    background: linear-gradient(180deg, #23F79E 0%, #00D9FF 100%);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(35, 247, 158, 0.5);
}

.header-title {
    color: white;
    font-size: 48px;
    font-family: 'ProjectD Type Curve', 'Inter';
    font-weight: 700;
    margin-left: 20px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    font-family: 'ProjectD';
    margin-left: 20px;
    margin-bottom: 5px;
}

.header-count {
    color: #23F79E;
    font-size: 20px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    margin-left: 20px;
}

/* 使用提示 */
.usage-tip {
    background: rgba(35, 247, 158, 0.1);
    border: 2px solid rgba(35, 247, 158, 0.3);
    border-radius: 12px;
    padding: 15px 25px;
    margin: 20px 0 30px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tip-icon {
    font-size: 28px;
    margin-right: 15px;
}

.tip-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-family: 'ProjectD';
    flex: 1;
}

.command {
    color: #23F79E;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    background: rgba(35, 247, 158, 0.15);
    padding: 3px 10px;
    border-radius: 6px;
    margin: 0 5px;
}

/* 音乐列表区域 */
.music-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

/* 音乐项 */
.music-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.music-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #23F79E 0%, #00D9FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-item:hover::before {
    opacity: 1;
}

.music-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(35, 247, 158, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* TOP3 特殊样式 */
.top-rank {
    background: rgba(35, 247, 158, 0.08);
    border-color: rgba(35, 247, 158, 0.3);
}

.top-rank::before {
    opacity: 1;
}

/* 序号标记 */
.music-index {
    min-width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
}

.top-index {
    background: linear-gradient(135deg, #23F79E 0%, #00D9FF 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(35, 247, 158, 0.4);
}

/* 封面容器 */
.music-cover-container {
    position: relative;
    min-width: 100px;
    height: 100px;
}

.music-cover {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.music-item:hover .music-cover {
    transform: scale(1.05);
}

.top-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    font-size: 14px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* 音乐信息 */
.music-info {
    flex: 1;
    min-width: 0;
}

.music-name {
    color: white;
    font-size: 22px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-family: 'ProjectD';
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.music-playlist,
.music-hot {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-family: 'ProjectD';
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.music-hot {
    color: #FFB84D;
    background: rgba(255, 184, 77, 0.15);
}

/* 点歌命令 */
.music-command {
    min-width: 150px;
    text-align: right;
}

.command-text {
    background: rgba(35, 247, 158, 0.15);
    color: #23F79E;
    font-size: 18px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgba(35, 247, 158, 0.3);
    display: inline-block;
    transition: all 0.3s ease;
}

.music-item:hover .command-text {
    background: rgba(35, 247, 158, 0.25);
    border-color: rgba(35, 247, 158, 0.5);
    transform: scale(1.05);
}

/* 底部信息 */
.footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-tip {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-family: 'ProjectD';
    margin-bottom: 15px;
}

.plugin-watermark {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    font-family: 'ProjectD Type Curve';
    font-weight: 700;
    letter-spacing: 2px;
}

/* 响应式优化 */
@media (max-width: 1400px) {
    body {
        width: 100%;
    }
    .container {
        width: 100% !important;
    }
}

/* GPU 加速优化 */
.music-item,
.music-cover,
.command-text {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

